package org.cttic.visualization.visualization.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.text.ParseException;

/**
 * @author shkstart
 * @create 2020-06-29 14:59
 * 7.1路况列表
 */
@RestController
@RequestMapping(value ="/roadConditionsList")
@CrossOrigin
public class roadConditionsListController {
    @Autowired
    private org.cttic.visualization.visualization.z_service.seven.roadConditionsList roadConditionsList;
    @RequestMapping(value ="/query")
    public String roadConditionsListInfo(@RequestBody String inputData) throws ParseException {
        return roadConditionsList.roadConditions(inputData);
    }

}
